$("#login").html("<%= escape_javascript( render(:partial => 'shared/login') ) %>");
$("#subs").html("<%= escape_javascript( render @subscriptions ) %>");

$('#weather_search_result').slideUp('slow', function() {
	$("#city").val('');
	$("#weather_search_result").remove();
  });


Gmaps.map.replaceMarkers(<%= raw @markers.to_json %>);     //this is a JS function



$(document).ready(function() {
	$.unblockUI();
	$('#logout_btn').click(function() {
		customBlockUI();
	});
});

